#include "StaticPlane.h"

using namespace PHYOgre;

StaticPlane::StaticPlane(Ogre::SceneNode *iSceneNode, Ogre::Entity *iEntity)
	:mPlaneNode(iSceneNode)
	,mPlaneEntity(iEntity)
{

}

//--------------------IntegrableInterface ---------------------------------
	
void StaticPlane::Integrate(const Real& iDt)
{

}
void StaticPlane::AddForce(const Vector3& iForce)
{

}
bool StaticPlane::HasFiniteMass()const
{
	return false;
}
Real StaticPlane::GetInverseMass()const
{
	return 0.0f;
}

void StaticPlane::SetShape(Shape* iShape)
{
	mShape = iShape;
}
const Shape* StaticPlane::GetShape() const
{
	return mShape;
}
void StaticPlane::SetFriction(const Real& iFriction)
{
	mFriction = iFriction;
}
void StaticPlane::SetRestitution(const Real& iRestitution)
{
	mRestitution = iRestitution;
}

Real StaticPlane::GetRestitution()const
{
	return mRestitution;
}
Real StaticPlane::GetFriction()const
{
	return mFriction;
}

